<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<title>{title} &ndash; Wren</title>
<script type="application/javascript" src="../prism.js" data-manual></script>
<script type="application/javascript" src="../codejar.js"></script>
<script type="application/javascript" src="../codejar-linenumbers.js"></script>
<script type="application/javascript" src="../wren.js"></script>
<link rel="stylesheet" type="text/css" href="../prism.css" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:400,700,400italic,700italic|Source+Code+Pro:400|Lato:400|Sanchez:400italic,400' rel='stylesheet' type='text/css'>
<!-- Tell mobile browsers we're optimized for them and they don't need to crop
     the viewport. -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
</head>
<body id="top">
<header>
  <div class="page">
    <div class="main-column">
      <h1><a href="../">wren</a></h1>
      <h2>a classy little scripting language</h2>
    </div>
  </div>
</header>
<div class="page">
  <nav class="big">
    <a href="../"><img src="../wren.svg" class="logo"></a>
    <ul>
      <li><a href="../getting-started.html">Getting Started</a></li>
      <li><a href="../contributing.html">Contributing</a></li>
      <li><a href="../blog">Blog</a></li>
      <li><a href="./">Try it!</a></li>
    </ul>
    <section>
      <h2>guides</h2>
      <ul>
        <li><a href="../syntax.html">Syntax</a></li>
        <li><a href="../values.html">Values</a></li>
        <li><a href="../lists.html">Lists</a></li>
        <li><a href="../maps.html">Maps</a></li>
        <li><a href="../method-calls.html">Method Calls</a></li>
        <li><a href="../control-flow.html">Control Flow</a></li>
        <li><a href="../variables.html">Variables</a></li>
        <li><a href="../classes.html">Classes</a></li>
        <li><a href="../functions.html">Functions</a></li>
        <li><a href="../concurrency.html">Concurrency</a></li>
        <li><a href="../error-handling.html">Error Handling</a></li>
        <li><a href="../modularity.html">Modularity</a></li>
      </ul>
    </section>
    <section>
      <h2>API docs</h2>
      <ul>
        <li><a href="../modules">Modules</a></li>
      </ul>
    </section>
    <section>
      <h2>reference</h2>
      <ul>
        <li><a href="../cli">Wren CLI</a></li>
        <li><a href="../embedding">Embedding</a></li>
        <li><a href="../performance.html">Performance</a></li>
        <li><a href="../qa.html">Q &amp; A</a></li>
      </ul>
    </section>
  </nav>
  <nav class="small">
    <table>
      <tr>
        <div><a href="../getting-started.html">Getting Started</a></div>
        <div><a href="../contributing.html">Contributing</a></div>
        <div><a href="../blog">Blog</a></div>
        <div><a href="../try">Try it!</a></div>
      </tr>
      <tr>
        <td colspan="2"><h2>guides</h2></td>
        <td><h2>reference</h2></td>
      </tr>
      <tr>
        <td>
          <ul>
            <li><a href="../syntax.html">Syntax</a></li>
            <li><a href="../values.html">Values</a></li>
            <li><a href="../lists.html">Lists</a></li>
            <li><a href="../maps.html">Maps</a></li>
            <li><a href="../method-calls.html">Method Calls</a></li>
            <li><a href="../control-flow.html">Control Flow</a></li>
          </ul>
        </td>
        <td>
          <ul>
            <li><a href="../variables.html">Variables</a></li>
            <li><a href="../classes.html">Classes</a></li>
            <li><a href="../functions.html">Functions</a></li>
            <li><a href="../concurrency.html">Concurrency</a></li>
            <li><a href="../error-handling.html">Error Handling</a></li>
            <li><a href="../modularity.html">Modularity</a></li>
          </ul>
        </td>
        <td>
          <ul>
            <li><a href="../modules">API/Modules</a></li>
            <li><a href="../embedding">Embedding</a></li>
            <li><a href="../performance.html">Performance</a></li>
            <li><a href="../qa.html">Q &amp; A</a></li>
          </ul>
        </td>
      </tr>
    </table>
  </nav>
  <main>
    <h2>{title}</h2>
    {html}
  </main>
</div>
<footer>
  <div class="page">
    <div class="main-column">
    <p>Wren lives
      <a href="https://github.com/wren-lang/wren">on GitHub</a>
      &mdash; Made with &#x2764; by
      <a href="http://journal.stuffwithstuff.com/">Bob Nystrom</a> and
      <a href="https://github.com/wren-lang/wren/blob/main/AUTHORS">friends</a>.
    </p>
    <div class="main-column">
  </div>
</footer>
<script type='text/javascript'>
  var Module = {{
    print: (function(text) {{
      console.log(text);
      var element = document.getElementById('try-output');
      if (arguments.length > 1) text = Array.prototype.slice.call(arguments).join(' ');
      element.innerText += text + "\n";
      element.scrollTop = element.scrollHeight;
    }}),
    printErr: function(text) {{
      console.warn(text);
      var element = document.getElementById('try-output');
      if(element.getAttribute('ready') === null) return;
      if (arguments.length > 1) text = Array.prototype.slice.call(arguments).join(' ');
      element.innerHTML += `<span class="token error">${{text}}</span>\n`;
      element.scrollTop = element.scrollHeight;
    }}
  }};
</script>
<script async type="text/javascript" src="../wren_try.js"></script>


</body>
</html>
